/* 监控样式 */
body {
    background-color: #fff;
}

/* 布局左边 */
.layout_left {
    padding: 2px 4px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: auto;
    height: calc(100% - 15px);
    padding: 5px 10px 10px 10px;
}

.layout_left .btn_tabs_wrap {
    display: flex;
    flex-direction: column;
}

.layout_left .btn_tabs_wrap .btn_tab {
    padding: 5px;
    text-align: center;
    max-width: 86px;
    visibility: hidden
}

.layout_left .btn_tabs_wrap .btn_tab:not(:first-child) {
    margin-top: 5px;
}

.layout_left .mc_btn_normal:not(:first-child) {
    margin-top: 5px;
}

/* 布局右边 */
.layout_right {
    flex: 1;
    margin: 10px;
    border: 1px solid #333;
    margin-top: 35px;
    margin-top: 68px;
    box-sizing: border-box;
    background-color: #eee;
    width: 60%;
    height: calc(100% - 45px);
    height: calc(100% - 76px);
}

.layout_right .btn_tabs_wrap {
    padding: 0;
    height: 64px;
    white-space: nowrap;
    /* overflow: hidden; */
}

.layout_right .btn_tabs_wrap .btn_tab {
    border: 0;
    padding: 2px 5px;
    border-bottom: hidden;
    /* height: 62px; */
    border: 1px solid #ffffff80;
    background-color: white;
    border: 1px solid #e1e0e0;
    background-color: #faf7f7;
    min-width: 50px;
}

.layout_right .btn_tabs_wrap .btn_tab.select {
    background-color: #eee;
    border: 1px solid #333;
    border-bottom: 0;
    z-index: 3;
    height: 63px;
}

#screen_container .btn_tab:not(.select):hover {
    border: 1px solid #909990 !important;
    border-bottom: hidden !important;
}

#screen_container {
    margin-top: -64px;
    margin-left: -1px;
    overflow: hidden;
}

/* 提示  & 颜色提示 */
.monitor_tips {
    margin: 0 10px 5px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    font-size: 12px;
}

.tip_item:not(:first-child) {
    margin-left: 15px;
}

.tip_color_txt {
    line-height: 16px;
    display: inline-block;
    margin-left: 3px;

}

.tip_color {
    width: 16px;
    height: 16px;
    display: inline-block;
}

/* right info */
#monitor_tb_tight_info {
    z-index: 2;
    background-color: #fff;
    /* overflow: hidden; */
    display: flex;
    flex-direction: column;
    /* modify 22-1-5 */
    flex-basis: 200px;
    border: 0 !important;
    background: initial;
    /* overflow: auto; */
    /* margin-left: 10px; */
}

#monitor_port_cnt,
#monitor_tb_container,
#monitor_tb_tight_info {
    border: 1px solid #666;
    box-sizing: border-box;
    height: 100%;
}

#monitor_tb_container {
    border-left: 0;
    /* border-right: 0; */
}


/************************************** table style **************************************/
.text_wrap {
    text-align: left;
    padding: 0px 6px;
    /* color: #fff; */
    font-size: 14px;
}

/* 文字 */
.click_create_div .div_text {
    margin-top: 5px;
    background-color: inherit !important;
}

.click_create_div .div_text.name {
    font-size: 18px;
    margin: 10px 0;
}

/***************************** 块不同颜色(背景色) *****************************/
/* 数据正常 */
.monitor_block_green,
.statu_normal {
    background-color: green !important;
}

/* 数据读取错误 */
.monitor_block_grey {
    background-color: #b7b3b3 !important
}

/* 蓝色: 低于正常值  */
.monitor_block_b {
    background-color: #00B0F0 !important;
}

/* 红色: 通信异常 || 高于正常值 */
.monitor_block_r,
.statu_abnormal {
    background-color: #FF0000 !important;
}

/* 第一阶段误码率预警 */
.monitor_block_maroon {
    background-color: #984807 !important;
}

/* 覆盖表格样式 */
.click_create_div.monitor {
    color: #000;
    background-color: white;
    border: 1px solid #999;
    border-color: #ca6726;
    border-color: blue;
    opacity: 1;
    font-weight: 700;
}

/* 表格分控备份 */
.click_create_div.monitor.hub_backup:after {
    content: "";
    display: inline-block;
    background-color: #630303;
    color: #630303;
    border: 1px solid #333;
    border-radius: 10px;
    position: absolute;
    width: 13px;
    height: 13px;
    top: 31px;
    right: 10px;
}

.monitor_block_green.hub_port {
    background-color: #92D050;
}

/*********** 文字异常颜色(前景色) 与块不同颜色一致 /***********/
/* 数据正常 */
.monitor_block_green.div_text {
    color: green;
}

/* 数据读取错误 */
.monitor_block_grey.div_text {
    color: #b7b3b3;
}

/* 蓝色: 低于正常值  */
.monitor_block_b.div_text {
    color: #00B0F0;
}

/* 红色: 通信异常 || 高于正常值 */
.monitor_block_r.div_text {
    color: #FF0000;
}

/* 第一阶段误码率预警 */
.monitor_block_maroon.div_text {
    color: #984807;
}


/************************************** V1 **************************************/
.tab_val_wrap {
    min-width: 156px;
}

.btn_tab.placeholder {
    background-color: #fff !important;
    border: 0 !important;
}

#monitor_port_cnt {
    width: auto;
    min-width: 40px;
    border-top: 0;
}

#port_cnt_scrool {
    position: relative;
}

#monitor_port_cnt .title {
    z-index: 2;
    position: relative;
    height: 30px;
    line-height: 30px;
    text-align: center;
    border-top: 1px solid #666;
    border-bottom: 1px solid #666;
    background-color: #eee;
    padding: 0 3px;
}

.side_block {
    width: 100%;
    height: 105px;
    /* line-height: 105px; */
    border: 1px solid #666;
    border-top: hidden;
    /* margin: 0 -1px -1px 0; */
    box-sizing: border-box;
    text-align: center;
    color: #fff;
    background-color: #f5b1b1;
    background-color: #92D050;
    position: relative;
}

.side_block .inner_val {
    position: absolute;
    width: 100%;
    transform: translate(0px, -50%);
    top: 50%;
}

.save_more_hw {
    background-color: rgb(185, 9, 9);
}

.hw_more_save {
    background-color: rgb(39, 52, 233);
}


#monitor_tb_tight_info .item_box .mc_lab.item_gp_name {
    /* width: auto; */
    min-width: 80px;
}

#monitor_tb_tight_info .item_box .mc_lab.item_gp_name {
    margin: 0 0 0 5px;
    text-align: left;
    padding-left: 0;
    margin: 0;
}

#monitor_tb_tight_info .item_box .mc_lab.item_gp_unit {
    margin-left: 5px;
}

#monitor_range_set .tip_color_wrap {
    width: 25px;
    margin-left: 9px;
}

#monitor_range_set .tip_color_wrap .tip_color {
    /* width: 24px; */
    /* height: 100%; */
    margin-top: 8px;
}

#monitor_range_set .tip_color_wrap .tip_color_txt {
    display: none;
}

#monitor_range_set .tip_color_wrap .tip_item:not(:first-child) {
    margin-left: 0;
}

#tab_opt .btn_tabs_wrap .btn_tab {
    border: 0;
    background-color: inherit;
    padding: 0;
}

#tab_opt .btn_tabs_wrap .btn_tab.select .icon_btn {
    background-color: rgb(197 195 195);
}

#tab_opt .btn_tab.select .icon_btn:hover {
    box-shadow: none;
}

#tab_opt .icon_btn {
    margin: 0;
}

.icon_btn {
    display: inline-block;
    min-width: 40px !important;
}

.icon_btn span {
    display: inline-block !important;
}

.range_set_title {
    display: flex;
    flex-direction: column;
    padding: 5px 10px;
    border-bottom: 1px solid #333;
    margin-bottom: 10px;
    font-weight: 700;
    display: inline-block;
}

.range_set_val .icon_btn {
    display: inline-block;
    font-size: 18px;
}

.swiper-slide {
    width: auto;
}

/* line color */
#monitor_tb_container g {
    stroke: #ca6726;
    fill: #ca6726;
}

.no_data {
    margin: 0px auto;
    width: 66px;
    height: 30px;
    padding: 0 3px;
    line-height: 30px;
    /* margin-left: 10px; */
}

.hub_port_wrap {
    width: 100%;
    display: flex;
    background-color: white;
    font-weight: 700;
    /* position: absolute;
    bottom: 0; */
}

.hub_port {
    flex: 1;
    border: 1px solid black;
    margin: 0 -1px -1px 0;
}

.range_set_btn {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    padding: 6px 0 2px 0;
}

.item_wrap_box {
    flex-direction: row;
    flex-wrap: nowrap;
}